# -*- coding: utf-8 -*-

import redis


def main():
    r = redis.StrictRedis(host='localhost', port=6379, db=0)
    r.set('hello', 'world!!!')
    v = r.get('hello')
    print(v)


if __name__ == '__main__':
    main()
